@import "~scss/variables";

.sw-cms-element-sidebar-filter {
    cursor: pointer;

    &.is--disabled {
        cursor: not-allowed;
    }

    .sw-cms-element-sidebar-filter__element {
        display: inline-block;
        border: 1px solid #d4e2e2;
        border-radius: 3px;
        padding: 8px 12px;
        margin-right: 12px;
        margin-bottom: 12px;

        &::before {
            content: "";
            display: inline-block;
            position: relative;
            top: 2px;
            margin-right: 8px;
            width: 120px;
            height: 18px;
            background-color: $color-gray-100;
            border-radius: 9px;
        }

        .mt-icon {
            margin-left: 4px;
            margin-bottom: 5px;
        }

        &:nth-child(2)::before {
            width: 60px;
        }

        &:nth-child(3)::before {
            width: 90px;
        }
    }
}
